package com.ethink.order.api.response;

import com.ethink.order.api.info.SaleOrderInfo;
import com.ethink.order.api.model.SaleDetailOrderModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author default
 * @version 1.0.0
 * @ClassName SaleOrderDetailResponse.java
 * @Description
 * @createTime 2022年11月22日 14:12:00
 */
@Data
public class SaleOrderDetailResponse {

    @Schema(description = "主数据")
    private SaleOrderInfo main;

    @Schema(description = "商品信息")
    private List<SaleDetailOrderModel> item;

    @Schema(description = "合计数量")
    private Integer totalNum;

    @Schema(description = "合计价格")
    private BigDecimal totalPrice;
}
